package com.slj.service;

import com.slj.comm.responce.PageResult;
import com.slj.model.query.OrderQuery;
import com.slj.model.dto.OrderDTO;
import com.slj.model.entity.PurchaseOrders;
import com.baomidou.mybatisplus.extension.service.IService;
import com.slj.model.vo.OrderVo;

import java.util.List;

/**
 * <p>
 * 采购订单表 记录采购订单信息 服务类
 * </p>
 *
 * @author 礼俊
 * @since 2025-09-20 22:46
 */
public interface PurchaseOrdersService extends IService<PurchaseOrders> {

    void creatOrder(List<OrderDTO> orderDTOS);

    PageResult<OrderVo> orderList(OrderQuery orderQuery);

    void updateStatus(String orderId, Integer supplierId);

    void receive(String orderId, Integer supplierId);

    void returnGoods(String orderId, Integer supplierId);
}
